use can_handle_appdata again
Merge pull request #153 from mirleft/non-blocking

use can_handle_appdata again