conn.close instead of conn.stop