Remove timed out queries