adding timeout to send string