Upgraded to have common thread-pool
refactoring this thing trying to fix it so it doesn't enter into race conditions.
no more crazy sleeps, should be fixed now... (fingers crossed)