Fixed a file descriptor leak in StatusUpdateManager.

Review: https://reviews.apache.org/r/26879