added new connection, if error