fix: expo sqlite driver disconnect() (#6027)
fix: expo sqlite driver disconnect() (#6027)

Currently the disconnect() function does not perform a call to databaseConnection close, it only sets the
queryRunner and databaseConnection to undefined, this behavior may cause problems when you do something like this:

1 - await getConnection().close();
2 - Replace the database file
3 - Try to open connection createConnection(); and do some insert

more info:
https://github.com/expo/expo/issues/8109
gintsgints/typeorm,typeorm/typeorm,typeorm/typeorm,gintsgints/typeorm,typeorm/typeorm