Try using the screen
utility. This will allow you to SSH (which you should be using instead of telnet unless you use kerberos-encrypted telnet) in to the server, start screen and within the screen session use your program. You can then detach from the screen session and log off. Log in later again, re-attach to the screen and interact with the running program if needed. I wrote a longer post
on this subject a while ago.