add max processes
fix Client interface so api call returns an error
rename MaxInflight to MaxInFlight
Merge pull request #13 from dustismo/hotfix/client

Fixes for client