use fork to create separate process for every running action