Fully implemented Supervisor :max_restart and :max_time functionality.