Implement cancelling of other running tasks when exam is successfully registered

Signed-off-by: Frca <killerfrca@gmail.com>