should not have a null pointer exception when stopping an unstarted message handler