pusshing resetConnection to a separate thread. this is for solving exception on android kitkat due to network activity on main thread