concurrent_pump: added way to stop runloop if needed