set timeout error code to ETIMEDOUT