raise exception on lock timeout