Fixing bug in cluster server connection setup