Added a duration in the callback
Merge branch 'thread' of github.com:freelan-developers/libfscp into thread