[entropy.db.sqlite] commit() any pending transactions on release

This avoids potential deadlocks to occur.