Added client.enableKeepAlive(60) to prevent server timeouts