removed useless time.sleep from getRemoteHost