Improved the efficiency of file fetching.

  - The metadata database is fetched only once a certain interval passes since the last fetching.
  - TCP_CORK is enabled for all fetching operations.