Added EXIT_ON_CLOSE in serverF frame