fixed buffered reader exception when closing gui