Fixed invalid calls to session.abort
recompiled