Fixing disconnection
Increasing timeout
Fixing method name
Flushing before sending