Made sure only one backup thread is running