fixed ResponseServer

changed while loop conditional