adjust thread sleep for more responsiveness from server.