Fixing port choice behavior

* restarts should choose a new port
* stop/start should keep the same port
Reverse the port logic
Merge pull request #4 from odcinek/tt_restarts

Fixing port choice behavior