added periodic check of nginx process