Improve retry handling when using em adapter

  * Change number of retries from 2 to 4
  * Bump version to 0.3.6