Fix a bug in process_stopped() that never reported about stopped process