The following figure illustrates the statuses and the possible transitions.