Removed redundant select call in accept procedure