Verify that zeromq exceptions doesn't leak to the outter scope.