Added timeout for http request and stops service onDestroy