tested socket read and write; test threadpool and dispatch