Rawserver endpoint fix

Prevented Tribler from closing