JFrame now exits server friendly