The nearest expiration date for Cocoa Futures (Jul 2018) is Jul 31, 2018.
Traders prefer to sell futures contracts when they've already made money on the investment, but still have plenty of time left before the expiration date. Thus, many consider it a good option to sell Cocoa Futures (Jul 2018) before Jul 31, 2018.