Added pump status handling.