implement coio_writev_timeout function