Add more illegal operations catch
Add more illegal operations catch
Add duplicate process checker (using hashmap)
Fix release resource to accommodate multiple next processes