allow user sent in proc to have access to @connection but nil it out if an exception is thrown