Add unregisterProcess function in class UserKernel