Set the number of threads to run io_service to 1