New implementation of nonblocking chan