Call unregister in cancel. This may be bad?