OFStateManager: convert flow expiration to a long running task

The task is started by the periodic timer.