fix around stdin

read stdin per callback and continue