do not detach apps when HAF stuck
Sometimes happens that HAF stucks for a long time (i.e. for some reason indexes are rebuilt), is such situations innocent applications were auto-detached because during waiting for new blocks 'last_active_at' was not updated.