Pg Canceling Statement Due To Lock Timeout