Java routing - Delete old entries