title: foreverjs turns process in STOPPED state instead of restarting
body: <p>I have <code>nodejs</code> process that listens for an connection. I want to let <code>foreverjs</code> restart it on any connection error this way:</p>
  
  <pre><code>amqpConnection.on('error', function (err) {
      console.error(err);
      process.exit(1);
  });
  </code></pre>
  
  <p>But this don't work. After error I see my process in this state:</p>
  
  <pre><code>~&gt; forever list
  info:    Forever processes running
  data:        uid  command       script        logfile
  data:    [0] OpQF /usr/bin/node my-script.js  my-script-log.log STOPPED
  </code></pre>
  
  <p>Log file has connection error and two attempts to restart script.</p>
  
  <pre><code>error: Script restart attempt #2
  { [Error: connect ECONNREFUSED]
    code: 'ECONNREFUSED',
    errno: 'ECONNREFUSED',
    syscall: 'connect' }
  error: Forever detected script exited with code: 1
  </code></pre>
  
  <p>Why forever stops trying to restart my process?</p>