Add explicit closing cursor in the ListScriptActivity's onPause() method