Fixed memory leak for timeoutmap and responsibilitymap as reported by
Dennis