Filesystem: dont sleep during stop-action when there are no processes to kill
Thanks @SatomiOSAWA for the initial code.