Try to stop listening on the upload port when shutting down gracefully.

This may solve some of the problems with the upload port getting
kept open by old mono processes, preventing new ones from getting
any uploads.
Add visible diagnostics in the web site when the upload port can't be opened.