GH #79: Poco::Thread leak on Linux

fixed GH #79: Poco::Thread leak on Linux