Isn't this always needed in concert with ``serverSideChannel.close()`` and if so, lets just make a method to avoid the code duplication.