Use total_seconds instead of seconds on timeout
#896
Merged
total_seconds instead of seconds on timeout
#896