Fixed NettyServerTransport.close() method.

Now close method is synchronous.