Provided are a method, system, and program for performing database operations.
A request is received to access database resources from a client over a network.
An entry is added to a monitor list indicating a last access time to the database
by the client, wherein the entry is associated with an access of database resources
in response to the received request. The monitor list is scanned to determine an
entry where a difference of a current time and last access time exceeds a timeout
threshold. A calling a function is indicated in the entry. The function causes
an abort operation to be performed to terminate the access of database resources
associated with the determined entry.