added unit tests where the sniff endpoint throws a hard exception in IConnection
added tests for hard exceptions in IConnection async methods