lock timeout fix