Add .class to .gitignore, start shell process with nohup.