Unlocking of std::unique_lock is guaranteed on desctruction
http://www.cplusplus.com/reference/mutex/unique_lock/

Double mutex unlocking frightens the Windows debug runtime very much and gives the assertion.