fixed interval time in keepalive resource and logic to disconnect after sign up