fail OSX has no sem_getvalue() implementation so work around thread safe queue size
v0.9.24