ActiveAE: fix hang in case of sink fails writing data