Error message should only be printed, if there is no timeout for the semaphore to be taken, not the other way around, since it would be constantly triggered, when an application is polling a queue.
Authored by: s-bender 2019-08-16
Parent: [r2011]
Child: [r2013]