Handler:ondisconnect might return different reason for exit