resumable io - tested