Checking for interrup on accepting a connection.