Does your Oracle user have a profile with a maximum idle time? If so, you can perhaps prevent the problem by enabling the "Check Connection" preference (Tools > Preferences > Oracle/Connection page). Now PL/SQL Developer will check every minute if the connection is okay, thereby preventing too much idle time for the session.