Properly disable instrumentation for the template panel.

It's important to disconnect the signal at the end of a request because
the toolbar now stores panels for past request.

Fix #491 (presumably).