finally fixed maximum capture duration
Don't check maximum capture duration in interrupted state
Merge pull request #144 from PaulTaykalo/maximum-capture-duration-fix

Fix for maximum capture duration