added smartResetAttempts

added the number of times smart will attempt to spawn before giving up
and shutting down. default is set to 5. user can specific a negative
number (ex -1) to have SRL attempt to spawn smart infinitely.