kill and log long running queries