Added options for changing waitForService times (possibly infinite), and the service name itself (default now is '/json_prolog').