So a work around is to use the GNU screens.
GNU screen basically lets you run multiple terminals with in the terminals and also allows you to detach your terminal from the current terminal. But the process continues to run even after the terminal is detached, but the process can again be controlled once the terminal is reattached.
The command that is used to achieve this is "screen".
Will provide more details soon.