Make sure only one instance of process runs at each time