logger: fix thread deadlock
logger: fix thread deadlock

PX4/Firmware,acfloria/Firmware,acfloria/Firmware,acfloria/Firmware,krbeverx/Firmware,PX4/Firmware,acfloria/Firmware,krbeverx/Firmware,krbeverx/Firmware,PX4/Firmware,PX4/Firmware,krbeverx/Firmware,krbeverx/Firmware,krbeverx/Firmware,acfloria/Firmware,PX4/Firmware,PX4/Firmware,acfloria/Firmware,PX4/Firmware,acfloria/Firmware,krbeverx/Firmware