Added timed wait method for ThreadPool, so that if there are no requests in request queue for wait period, ThreadPool
will exit. Added Utils class to add any utility functions.