Fix serialize using a mutex, retry on busy timeout