flush method added into the interface
connect() command