Conection issue

Hi fellas.

I’ve been experimenting a disturbing error during last two days. I’m connected (through terminal), and while working on the machine, the pwnbox screen goes grey and connection in my Parrot VM is lost. When I try to connect again it gives me the port22: Connection refused error.

Anyone can help me? Thanks.