fix jenkins error and added check for open akka port.