Added reference to SO question that inspired sinkReset