Castro hints at resignation