Handling for poclbm idling and user manually close