(ITS#4696) Assert core in connection.c