changed the sending timeout exception's type to TimeoutException