Please add the next option to the metadata:

```
'Stance'         => Msf::Exploit::Stance::Aggressive,
```

to the metadata. In this way the TcpServer will finish once the exploit finishes :). Even when you're using the TcpServer mixin here, it's an aggressive but not a passive exploit.