unnecessary assert since it is protected by mutex and used in the
serialisation thread anyway