Session: restore error handler only once when starting fails