Added cache timer for reset

This solves #16