add lockfile dependency
get random free port from operating system