Issue #3145412 by pavnish, cburschka, amateescu: Connection::__destruct() can't delete the sqlite file (cherry picked from commit 0073e148)