Statements now keep a reference to the connection to keep it alive.