Prevent multiple processes from running