Listen only once for stdin close