Adjust the timeout after interrupted select()