Switch MMS to poll to avoid select() issues. Needs review/testing.