mmRemote.py: improved port blocking

Hey Ryan, these are the changes I made to remote.  I have being using this for quiet a few months now and notice more reliable performance.