Add missing callback to connectionTerminated