Input stream should not be polled continously, operation blocks most of the other goroutines.