Replace local $serverUp variable with a member variable that holds the s...

...erver state