I connecting from laptop to my ubuntu-server via SSH, log into the system, and execute, for example, a command like

```
apt install openjdk-13-jre-headless

```

The download starts, but if I close my SSH connection the process is terminated. How can I handle it to stop process terminating after log-out? Is it possible and safe?