The `at` method also needs to lock the mutex. It looks like you had the proper code here, but then commented it out.