Refactoring self closing baseMessageConnection to be a decorator instead.