fix eagain issues
1.0.4