Implemented reaction to successful connect.