adding take() function to _thred.pool interface
added take() and get() functions to pool; calling code much cleaner