workaround program won't quit issue on Ubuntu 13.10