Adding catches to the attempting lock