fixed error with PyRequester closing connection twice