Fix for issue #289

'messages' not initialized in BlockingConnection.cancel()