Do not follow recirects when performing a health check and handle all 1xx/2xx/3xx as success
Fix pid_running?() method to return false when a process id is invalid