message listener made startable and stoppable