Hamlet Avenue to close for bridge replacement