quit() stops only one process as before. This change solves problem with unexpected stop (kill etc.).