Use Process.getpgid to see if process is alive as getsid is only
available from ruby 2.0.0 onwards