Clean up the NettyHttpServer shutdown code