Added support for triggers
Triggers output stored in a dedicated key
Triggers can have their own timeout
Additional check for triggers