Some basic send with timeout functionality and general flow of connect