Apply common OnSuspending pattern