add write with timeout