Don't try to run HTTPConnection._close_callback if it is None.

This was the case for WSGIContainer.

Closes #751.