cancel mockup when mockup function returns None

if None is returned, the function will execute as normal