Added dbExist implementation, cleared receive buffer on successful read