Fix: closing handshake does not work correctly when reason is empty

assuming msg = CloseControlMessage(), then bool(msg) == False when msg.reason = ''
So check for s.closing is None rather than bool(s.closing)