The short answer is no.
The long answer is as follows. In RealPortStartServer there are:
mallocs, queues cretaed, mutexes created, 3 threads created and event flags created. So just finding thread ID and deleted said threads would still leave you a mess. Unfortunately there is documented function for stopping RealPort.