done stuff until connection error