Adds an interruptor do unshard.

This is necessary because unshard can do complicated things like reads
in the case of reduce and we want it to be interruptible.