warning log on release on a not locked semaphore