Remove event handlers

Remove event handlers to avoid memory leak
closes #316