Fixing an invalid 'And' condition while checking for process exited already