Added: declare(ticks = 1); to make older PHP handle messages without pcntl_signal_dispatch()