Added pipeline.beforeClose event to allow subscribers to perform tasks such as push additional mojits before pipeline is actually closed.
Version 0.0.38