called server.kill method even if child_process not connected
add test when `options.delay=0`