Begining of activeAV2Mode and fix named_mutex after crash