Trying to use select() again worked for me.