Automatically cancel current message if an exception happens during sending or receiving
version 1.0.3.0