I am not sure what you try to do, but an AssignmentHandler or an EventListener is not the right place to complete a task or send any signals to the process instance.
Maybe what you try to do can be implemented with the <custom /> tag.
Basically you implement a ExternalActivityBehaviour and use execution.waitForSignal() or execution.take(transition) if you want the process instance to stop or take a certain transition.