fix unconfigure_connection()