Small library implement Android suspend mechanism