make put operation return False if channel was closed, True otherwise