I see there is a possibility of a crash in the code, if you use an event parameter that does not exist for that particular event.
Not sure if this is your problem, but it should be fixed anyway.
Edit: I was unable to provoke a crash using the above, so if you can come up with an event, event parameter and command combination that crashes(reloads) the router, please add a trac ticket for it.
br,
sambuca