MariaDB: call disconnect callback when a db connection is closed unexpectedly

Signed-off-by: swpd <swpdtz@gmail.com>