Add check for random port (fix #453)