check for running processes