Use  instead of pgrep to get PID
Merge pull request #962 from dampcake/LOGSTASH-1806

Use $! instead of pgrep to get PID