Add option to configure max SP's and SP idle time.