The URL to the server should not be received as a parameter, nor saved as a member. See the comment in the method run() below.