Catch exception when opening port when no connection
- Added measure to prevent Thread starvation