Unexpected error if uiPort already in use