Fixed issues with port checks timeout

Sometimes we can see that integration tests failed
because some application started with delay and we
should perform several attemps for checks of port
availability.

Change-Id: I073efd905646ed8713135a721270f9395248c502
Closes-Bug: #1339697
Merge "Fixed issues with port checks timeout"