Close connection to DB.
Also nil-out the connection.