Include also close time to methodInvocationTime

Fixes #974 (if it is not intentional).