another attempt at not getting stuck on a mutex