Check if conn is defined?, not nil?