Handle Instaphp exceptions more gracefully