added return code 0 if no suspend is done