fix bug in AsyncClose