add quit signal