do not spawn new processes all the time

Signed-off-by: Mattias Andrée <maandree@operamail.com>